package com.clusterswisdom.horn.api.ioc.event;

import com.alibaba.fastjson.JSONObject;

public class HornEvent {
	
	private Long id;
	
	private String chanel;
	
	private String service;
	
	private String method;
	
	private JSONObject param;

	public HornEvent(Long id, String channel, String service, String method, JSONObject param) {
		this.id = id;
		this.chanel = channel;
		this.service = service;
		this.method = method;
		this.param = param;
	}
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getChanel() {
		return chanel;
	}

	public String getService() {
		return service;
	}

	public void setService(String service) {
		this.service = service;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public JSONObject getParam() {
		return param;
	}

	public void setParam(JSONObject param) {
		this.param = param;
	}

	public void setChanel(String chanel) {
		this.chanel = chanel;
	}
}